package com.yan.community.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yan.community.model.ClubCommunityDetail;
import com.yan.community.model.ClubCommunityDetailExample;

/**
 * @author 彦
 * @since 2024/1/15 15:38
 */
@Mapper
public interface ClubCommunityDetailMapper {
    long countByExample(ClubCommunityDetailExample example);

    int deleteByExample(ClubCommunityDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ClubCommunityDetail record);

    int insertOrUpdate(ClubCommunityDetail record);

    int insertOrUpdateSelective(ClubCommunityDetail record);

    int insertSelective(ClubCommunityDetail record);

    List<ClubCommunityDetail> selectByExample(ClubCommunityDetailExample example);

    ClubCommunityDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ClubCommunityDetail record, @Param("example") ClubCommunityDetailExample example);

    int updateByExample(@Param("record") ClubCommunityDetail record, @Param("example") ClubCommunityDetailExample example);

    int updateByPrimaryKeySelective(ClubCommunityDetail record);

    int updateByPrimaryKey(ClubCommunityDetail record);

    int updateBatch(List<ClubCommunityDetail> list);

    int updateBatchSelective(List<ClubCommunityDetail> list);

    int batchInsert(@Param("list") List<ClubCommunityDetail> list);
}